package pub.cleangao.codegen.enquiry.oracle;

import pub.cleangao.codegen.sqlexe.DbType;
import pub.cleangao.codegen.GenConfigHolder;
import pub.cleangao.codegen.enquiry.EnquiryService;
import pub.cleangao.codegen.enquiry.TableEnquiry;

public class OracleEnquiryService implements EnquiryService {
    @Override
    public TableEnquiry getTableEnquiry(GenConfigHolder config) {
        return new OracleTableEnquiry(config, new OracleColumnEnquiry(config));
    }

    @Override
    public String signature() {
        return DbType.ORACLE.getSignature();
    }
}
